<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <style>
        table ,
        th,
        td {
          border: 2px solid red;
          border-collapse: collapse;
        }
    </style>
</head>
<body>
  <table>
      <thead>
          <th>姓名</th>
          <th>年龄</th>
      </thead>
      <tbody>
          <td>张三</td>
          <td>1</td>
      </tbody>
  </table>
</body>
</html>